{LAYOUT_CONTENT}
<div class="ui container">
	<div class="ui breadcrumb">
	<a class="section">BUG统计</a>
	<i class="right arrow icon divider"></i>
	<a class="section">详情</a>
	</div>
	
	<h1 class="ui header">{$title}</h1>
	
	<div class="ui success message">
      项目:{$project} &nbsp;&nbsp;&nbsp;&nbsp; 发现人:{$finder} &nbsp;&nbsp;&nbsp;&nbsp; 级别:{$level}<br>
      {if $url}URL:{$url}{/if}
      
	</div>	
	<div class="ui warning message">
      {nl2br($scene)}
	</div>	
	<div class="ui segment">
	{$description}
	</div>
	<form class="ui form" action="{url('Bug/doWork')}" method="post">
	
		<div class="inline fields"> 
			<label>优先级<i class="asterisk red icon"></i></label> 
			<div class="field">
			<select class="ui dropdown" name="priority">
				<option value="高级" {if $priority=='高级'}selected{/if}>高级</option>
				<option value="中级" {if $priority=='中级'}selected{/if}>中级</option>
				<option value="低级" {if $priority=='低级'}selected{/if}>低级</option>
			</select>
			</div>
		</div>
		<div class="inline fields">
		<label>预计用时(天)  <i class="asterisk red icon"></i></label> 
		<div class="field">			
			<input type="text" name="worktime" value="{$worktime}">
		</div>	
		</div>
		<div class="inline fields">
		    <label for="fruit">忽略</label>
		    <div class="field">
		      <div class="ui radio checkbox">
		        <input type="radio" name="ignore" value="1" {if $ignore==1}checked{/if} class="hidden">
		        <label>是</label>
		      </div>
		    </div>
		    <div class="field">
		      <div class="ui radio checkbox">
		        <input type="radio" name="ignore" value="0" {if $ignore==0}checked{/if} class="hidden">
		        <label>否</label>
		      </div>
		    </div>   
		    <div class="field">
		      <div class="ui radio checkbox">
		        <input type="radio" name="ignore" value="2" {if $ignore==2}checked{/if} class="hidden">
		        <label>不确定</label>
		      </div>
		    </div> 
		</div>
		<div class="inline fields">
		    <label for="fruit">进度</label>
		    <div class="field">
		      <div class="ui radio checkbox">
		        <input type="radio" name="status" value="0" {if $status==0}checked{/if} class="hidden">
		        <label>未开始</label>
		      </div>
		    </div>
		    <div class="field">
		      <div class="ui radio checkbox">
		        <input type="radio" name="status" value="1" {if $status==1}checked{/if} class="hidden">
		        <label>开始修复</label>
		      </div>
		    </div>  
		    <div class="field">
		      <div class="ui radio checkbox">
		        <input type="radio" name="status" value="2" {if $status==2}checked{/if} class="hidden">
		        <label>修复完成</label>
		      </div>
		    </div>  
		</div>
		<div class="field">
		<label>备注</label> 
					
			<textarea maxlength="255" rows="3" name="remark">{$remark}</textarea>
		
		</div>
		<div class="sixteen wide inline field">
		<input type="hidden" name="id" value="{$id}" />
		<button class="ui primary submit button" type="submit">提交</button>
		</div>
		
		</form>
		</div>
		
		<script src="__PUBLIC__/semantic.min.js"></script>
		<script>$('.ui.radio.checkbox').checkbox();</script>
				
{/LAYOUT_CONTENT}
